<?php

namespace Common\Model;

use Think\Model;

//题库
class QuestionModel extends Model {

    /**
     * 获取单选列表
     * @param int $iUserId 用户ID
     * @param int $iPostId 岗位ID
     */
    public function userCheckInfo($iUserId, $iPostId) {
        $where['user_id'] = $iUserId;
        $where['cate_id'] = $iPostId;
        $info = $this->where(array('user_id' => $iUserId))->find();
        return $info;
    }

}
